<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        var age = prompt('自己输入你考的分数：')
        if (age >= 90 && age <= 120) {
            alert('棒棒棒')
        } else if (age >= 80) {
            alert('大聪明')
        } else if (age >= 70) {
            alert('小垃圾')
        } else if (age >= 60) {
            alert('垃圾')
        } else if (age < 60) {
            alert('办公室见')
        }
    </script>
</body>

</html>